package com.project.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 房间打扫：(RoomCleaning)表实体类
 *
 */
@TableName("`room_cleaning`")
@Data
@EqualsAndHashCode(callSuper = false)
public class RoomCleaning implements Serializable {

    // RoomCleaning编号
    @TableId(value = "room_cleaning_id", type = IdType.AUTO)
    private Integer room_cleaning_id;

    // 商家用户
    @TableField(value = "`business_user`")
    private Integer business_user;
    // 民宿名称
    @TableField(value = "`name_of_homestay`")
    private String name_of_homestay;
    // 民宿位置
    @TableField(value = "`location_of_homestay`")
    private String location_of_homestay;
    // 打扫用户
    @TableField(value = "`cleaning_the_user`")
    private Integer cleaning_the_user;
    // 打扫时间
    @TableField(value = "`cleaning_time`")
    private Timestamp cleaning_time;
    // 打扫备注
    @TableField(value = "`cleaning_remarks`")
    private String cleaning_remarks;

    @TableId(value = "homestay_orders_id")
    private Integer homestay_orders_id;

    @TableId(value = "state")
    private String state;

    @TableField(value = "img")
    private String img;

    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
